package com.dingup.provider.mapper;

import com.dingup.api.model.log.SysRoleUpdateLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleUpdateLogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysRoleUpdateLog record);

    int insertSelective(SysRoleUpdateLog record);

    SysRoleUpdateLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysRoleUpdateLog record);

    int updateByPrimaryKey(SysRoleUpdateLog record);

    List<SysRoleUpdateLog> getUpdateRoleLog(@Param("roleId") Integer roleId,@Param("OperaType") Boolean OperaType);
}